package com.example.teatea.project;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public class Member {
    private SimpleIntegerProperty mId = new SimpleIntegerProperty();
    private SimpleStringProperty mName = new SimpleStringProperty();
    private SimpleStringProperty mSex = new SimpleStringProperty();
    private SimpleStringProperty mBirthday = new SimpleStringProperty();
    private SimpleStringProperty mPhone = new SimpleStringProperty();
    private SimpleStringProperty mTime = new SimpleStringProperty();//办会时间

    public Member(int mId, String mName, String mSex, String mBirthday, String mPhone, String mTime) {
        this.setmId(mId);
        this.setmName(mName);
        this.setmSex(mSex);
        this.setmBirthday(mBirthday);
        this.setmPhone(mPhone);
        this.setmTime(mTime);
    }

    public Member(String mName, String mSex, String mBirthday, String mPhone, String mTime) {
        this.setmName(mName);
        this.setmSex(mSex);
        this.setmBirthday(mBirthday);
        this.setmPhone(mPhone);
        this.setmTime(mTime);
    }

    public Member(String mName, String mSex, String mBirthday, String mPhone) {
        this.setmName(mName);
        this.setmSex(mSex);
        this.setmBirthday(mBirthday);
        this.setmPhone(mPhone);
    }

    public Member() {
    }

    public int getmId() {
        return mId.get();
    }

    public SimpleIntegerProperty mIdProperty() {
        return mId;
    }

    public void setmId(int mId) {
        this.mId.set(mId);
    }

    public String getmName() {
        return mName.get();
    }

    public SimpleStringProperty mNameProperty() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName.set(mName);
    }

    public String getmSex() {
        return mSex.get();
    }

    public SimpleStringProperty mSexProperty() {
        return mSex;
    }

    public void setmSex(String mSex) {
        this.mSex.set(mSex);
    }

    public String getmBirthday() {
        return mBirthday.get();
    }

    public SimpleStringProperty mBirthdayProperty() {
        return mBirthday;
    }

    public void setmBirthday(String mBirthday) {
        this.mBirthday.set(mBirthday);
    }

    public String getmPhone() {
        return mPhone.get();
    }

    public SimpleStringProperty mPhoneProperty() {
        return mPhone;
    }

    public void setmPhone(String mPhone) {
        this.mPhone.set(mPhone);
    }

    public String getmTime() {
        return mTime.get();
    }

    public SimpleStringProperty mTimeProperty() {
        return mTime;
    }

    public void setmTime(String mTime) {
        this.mTime.set(mTime);
    }
}
